package com.aaa.fees.dao;

import com.aaa.entity.Backfee;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Repository
public interface BackfeesDao  extends BaseMapper<Backfee> {
    void insertAll(String orderId, String regId, String patientName, BigDecimal orderAmount, LocalDateTime createTime);
    void updateByStatus1(String itemId);
//    @Select(value = "select * from his_order_backfee hob join (select * from  sys_dict_data where dict_type = 'his_backfee_status') sdd on\n" +
//            "hob.back_status=CONVERT(sdd.dict_value USING utf8) COLLATE utf8_unicode_ci JOIN(select * from  sys_dict_data where dict_type = 'his_pay_type_status') sdds on hob.back_type=CONVERT(sdds.dict_value USING utf8) COLLATE utf8_unicode_ci ")
//    Result<List<Backfee>> getBackfeesInfo();
}
